﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.Validation
{
	public static class IValidationRuleExtensions
	{
		public static string FullName(this IValidationRule rule)
		{
			return rule.Namespace + "." + rule.Name;
		}
	}

	public interface IValidationRule
	{
		string Namespace { get; }

		string DisplayName { get; }

		string Name { get; }

		IEnumerable<string> DependentProperties();

		IEnumerable<string> Standards();
	}
}